package com.niuyubo.jsontojava;

import java.util.List;

public class TestBean2 {
    private String name;

    private String address;

    private String age;

    private List<String> hobby;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public List<String> getHobby() {
        return hobby;
    }

    public void setHobby(List<String> hobby) {
        this.hobby = hobby;
    }

    @Override
    public String toString() {
        return "TestBean1{" +
                "name='" + name + '\'' +
                ", address='" + address + '\'' +
                ", age=" +age +
                ", hobby=" + hobby +
                '}';
    }
}
